import vue from 'vue';
import vuex from 'vuex';
vue.use(vuex);
const state = {
    userData : {},
};
const mutations = {
    setUserInfo(state,data){
        state.userData = data;
    },
};
export default new vuex.Store({
    state,
    mutations,
})